package com.zz.common.adapter.validator

import cats.data.Validated
import com.zz.common.exception.TransactionException

trait Validator[E] {
  def validate(event:E) : Validated[TransactionException, E]
}
